@import './mixin.scss';

.slide-down-enter-from, .slide-down-leave-to {
  transform: translate3d(0, -100%, 0)
}
.slide-down-enter-to-from, .slide-down-leave-from, .slide-up-enter-to, .slide-up-leave-from {
  transform: translate3d(0, 0, 0)
}
.slide-down-enter-active, .slide-down-leave-active, .slide-up-enter-active, .slide-up-leave-active, 
.fade-enter-active, .fade-leave-active, .slide-right-enter-active, .slide-right-leave-active,
.pop-slide-up-enter-active, .pop-slide-up-leave-active, .fade-slide-right-enter-active, .fade-slide-right-leave-active,
.title-move-enter-active, .title-move-leave-active,
.hot-search-move-enter-active,.hot-search-move-leave-active
{
  transition: all $animationTime linear;
}
.slide-up-enter-from, .slide-up-leave-to {
  transform: translate3d(0, 100%, 0)
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}
.fade-enter-to, .fade-leave-from {
  opacity: 1;
}
.slide-right-enter-from, .slide-right-leave-to {
  transform: translate3d(-100%, 0, 0);
}
.pop-slide-up-enter-from, .pop-slide-up-leave-to{
  transform: translate3d(0,100%,0);
  opacity: 0;
}
.pop-slide-up-enter-to, .pop-slide-up-leave-from, .fade-slide-right-enter-to, .fade-slide-right-leave-from,
.title-move-enter-to, .title-move-leave-from,
.hot-search-move-enter-to,.hot-search-move-leave-from
{
  transform: translate3d(0,0,0);
  opacity: 1;
}

.fade-slide-right-enter-from, .fade-slide-right-leave-to{
  transform: translate3d(-100%,0,0);
  opacity: 0;
}

.title-move-enter-from, .title-move-leave-to{
  transform: translate3d(0,px2rem(10),0);
  opacity: 0;
}

.hot-search-move-enter-from, .hot-search-move-leave-to{
  transform: translate3d(0,px2rem(30),0);
  opacity: 0;
}
